package com.atguigu.stgy.admin.mapper;

import com.atguigu.stgy.model.dto.AppointmentSearchDTO;
import com.atguigu.stgy.model.vo.AppointmentVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.atguigu.stgy.model.entity.ViewAppointment;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ViewAppointmentMapper extends BaseMapper<ViewAppointment> {
    List<AppointmentVO> selectAppointmentVOByCondition(Page<AppointmentVO> page,
                                                       @Param("searchDTO") AppointmentSearchDTO searchDTO);
}